<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:p="http://primefaces.org/ui"
                template="/templates/ui.xhtml">

    <ui:define name="head">
        <script type="text/javascript">
            document.onkeydown = function TabReplace() {
                if (event.keyCode == 13) {
                    if (event.srcElement.tagName != 'BUTTON')
                        event.keyCode = 9;
                }
            }
        </script>
        <style type="text/css">
            .col-95 {
                width: 95%;
            }

            .col-5 {
                width: 5%;
            }

            .label {
                width: 190px;
            }

        </style>
    </ui:define>
    <ui:define name="content">
        <div style="margin:5px">
            <p:tabView id="tabview" dynamic="true" cache="false" style="font-weight:normal;font-style:normal">
                <p:tab title="商户余额查询">
                    <h:form>
                        <div id="qrytable">
                            <p:growl id="msgs" showDetail="false"/>

                            <p:panel id="balPanel" style="margin-top:10px">
                                <h:panelGrid columns="4" cellspacing="5" style="text-align: right;" columnClasses="label,label,label,label">
                                    <h:outputLabel value="账号:"/>
                                    <h:outputLabel value="#{shopSbsactAction.actbal.actnum}"/>
                                    <h:outputLabel value="账户名:"/>
                                    <h:outputLabel value="#{shopSbsactAction.actbal.actnam}"/>
                                    <h:outputLabel value="账户余额:"/>
                                    <h:outputLabel value="#{shopSbsactAction.actbal.bokbal}"/>
                                    <h:outputLabel value="有效余额:"/>
                                    <h:outputLabel value="#{shopSbsactAction.actbal.avabal}"/>
                                    <h:outputLabel value="账户状态:"/>
                                    <h:outputLabel value="#{shopSbsactAction.sbsActSts.valueOfAlias(shopSbsactAction.actbal.actsts).title}"/>
                                    <h:outputLabel value="记录状态:"/>
                                    <h:outputLabel value="#{shopSbsactAction.sbsRecSts.valueOfAlias(shopSbsactAction.actbal.recsts).title}"/>
                                </h:panelGrid>
                            </p:panel>
                        </div>
                    </h:form>
                </p:tab>
            </p:tabView>
        </div>
    </ui:define>
</ui:composition>